package com.hdaccp.letting1.service.impl;
import com.alibaba.dubbo.config.annotation.Service;
import com.hdaccp.letting1.dao.UserInfoDao;
import com.hdaccp.letting1.entity.Userinfo;
import com.hdaccp.letting1.service.UserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.util.List;
@Service
@Component
public class UserInfoServiceImpl implements UserInfoService {
    @Autowired
    private UserInfoDao userInfoDao ;
    @Override
    public List<Userinfo> queryAll() {
        return userInfoDao.queryAll();
    }
}
